/* General layout and styling adjustments */
.favorites-container {
  background-color: #dfdffc; /* 淡紫色背景 */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-top: 20px;
}

/* Row container for cards */
.favorites-container .row-of-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Card style */
.favorites-container .ant-card {
  width: 100%;
  max-width: 320px; /* 限制卡片的最大宽度 */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(132, 125, 229, 0.1);
  transition: box-shadow 0.3s ease;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
}

/* Card background - top and bottom with purple, middle content with light grey */
.favorites-container .ant-card-body {
  padding: 16px;
  background-color: #e8e4f2; /* 淡灰色背景 */
  flex: 1;
  text-align: center; /* 文字居中 */
}

/* Card top and bottom with purple background */
.favorites-container .ant-card-meta {
  background-color: #e8e4f2; /* 淡紫色背景 */
  padding: 20px 16px;
  border-radius: 12px;
  text-align: center;
}

/* Card hover effect */
.favorites-container .ant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Card title */
.favorites-container .ant-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff; /* 白色字体 */
  text-align: center;
}

/* Card meta description */
.favorites-container .ant-card-meta-description {
  color: #555; /* 浅色字体 */
  font-size: 14px;
  text-align: center;
}

/* Button style (for pagination and other buttons) */
.favorites-container .ant-pagination {
  font-size: 14px;
  padding: 16px;
  display: flex;
  justify-content: center;
}

.favorites-container .ant-pagination-item {
  border-radius: 8px;
}

.favorites-container .ant-pagination-item-link {
  border-radius: 8px;
}

/* Sidebar */
.favorites-container .ant-layout-sider {
  background: #2c3e50;
}

/* General typography */
.favorites-container .ant-typography {
  color: #2c3e50;
}

.favorites-container .ant-typography.ant-typography-secondary {
  color: #7f8c8d;
}